package org.ghost.wechat.platform.dto.wechat.media;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.ghost.wechat.platform.dto.WeChatErrorRspDTO;

/**
 * @author 01
 */
public class WeChatVideoUrlRspDTO extends WeChatErrorRspDTO {

    private static final long serialVersionUID = -3360774928697742742L;
    /**
     * 视频下载链接
     */
    private String videoUrl;

    public String getVideoUrl() {
        return videoUrl;
    }

    @JsonProperty(value = "video_url")
    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    @Override
    public String toString() {
        return "WeChatVideoUrlRspDTO{" +
                "videoUrl='" + videoUrl + '\'' +
                ", errCode=" + errCode +
                ", errMsg='" + errMsg + '\'' +
                '}';
    }
}
